ArcPad Layer Definition File Schema
ArcPad Element
See Also  Send comments on this topic.
ArcPad Layer Definition File Schema : ArcPad Element

Glossary Item Box

Description

The root element for all ArcPad XML statements.

Diagram

LAYER Element SCRIPT Element Sequence ArcPad Element

Overview

ArcPad
The root element for all ArcPad XML statements.
Sequence
SCRIPT
Used in customization files (ArcPad.apx, *.apa, *.apl) to define scripts or specify an associated script file.
LAYER 1..∞
When used in a layer definition, LAYER is used to define the layer's custom characteristics.
brightness optional Restriction of xs:double
Brightness adjustment for the layer. Positive values increase the whiteness of the layer, negative values increase the darkness of the layer.
contrast optional Restriction of xs:double
Contrast adjustment for the layer. Positive values exaggerate color separation (as the value approaches 1, the result is either pure black (for colors below the grey threshold) or pure solid color (for colors above the threshold), for example, a dark red will become pitch black, whereas a bright red will become solid red). Negative values merge/dissolve the colors (as the value approaches -1, the result is all gray).
maxscale optional xs:string
minscale optional xs:string
name optional xs:string
Toolbar name. Used when referring to the toolbar in scripts.
onafterlayerdraw optional xs:string
Specify the script to run when this event occurs.
onbeforelayerdraw optional xs:string
Specify the script to run when this event occurs.
onclose optional xs:string
Specify the script to run when this event occurs
onfeatureadded optional xs:string
Specify the script to run when this event occurs.
onfeaturechanged optional xs:string
Specify the script to run when this event occurs.
onfeaturedeleted optional xs:string
Specify the script to run when this event occurs.
onfeaturegeometrychanged optional xs:string
Specify the script to run when this event occurs.
onidentify optional xs:string
Specify the script to run when this event occurs.
onopen optional xs:string
Specify the script to run when this event occurs
readonly optional Restriction of xs:string
refscale optional xs:string
transparency optional xs:double
transparencycolor optional Restriction of xs:string
showeditformnew optional Restriction of xs:string
Sequence
FIND
Parent tag for stored Find tool queries in an ArcPad layer definition.
Sequence
QUERYBUILDER
Parent tag for query fragments in an ArcPad layer definition.
Sequence
QUERYFRAGMENT 1..∞
Used to define a FIELD-OPERATOR-VALUE combination plus a logical operator to be used with the next query fragment (if present).
field required xs:string
fragmentoperator optional Restriction of xs:string
The operator used to link the next query fragment to this one.
operator optional Restriction of xs:string
The comparison operator to apply to the field.
value optional xs:string
The comparison term for the query fragment.
FORMS
The parent element for defining an ArcPad form.
Sequence
FORM 1..∞
Used to define an ArcPad form.
EDITFORM
Used to define an edit form in an ArcPad layer definition.
height required Restriction of xs:int
width required Restriction of xs:int
attributespagevisible optional Restriction of xs:string
Specifies whether the Attributes page should be displayed with the edit form.
backgroundcolor optional xs:string
caption optional xs:string
Displayed in the toolbar.
color optional xs:string
font optional xs:string
fontsize optional Restriction of xs:int
fontstyle optional Restriction of xs:string
geographypagevisible optional Restriction of xs:string
Specifies whether the Geography page should be displayed with the edit form.
oncancel optional xs:string
Specify the script to run when this event occurs.
onkillactive optional xs:string
Specify the script to run when this event occurs.
onload optional xs:string
Specify the script to run when this event occurs.
onok optional xs:string
Specify the script to run when this event occurs.
onrefresh optional xs:string
Specify the script to run when this event occurs.
onsetactive optional xs:string
Specify the script to run when this event occurs.
onunload optional xs:string
Specify the script to run when this event occurs.
picturepagevisible optional Restriction of xs:string
Specifies whether the Picture page should be displayed with the edit form.
sip optional Restriction of xs:string
symbologypagevisible optional Restriction of xs:string
Specifies whether the Symbology page should be displayed with the edit form.
tabsvisible optional Restriction of xs:string
Sequence
PAGE 1..∞
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
TABLEFORM 1..∞
Used to define additional ArcPad pages that contain tables related to the feature
Sequence
PAGE
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form.
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
visible optional
Used to define if the related table rows for the specified table wil be available to the user or not.
Sequence 1..∞
COLUMN
Used to define which columns from the related table are shown in the list view.
IDENTIFYFORM
Used to define an identify form in an ArcPad layer definition.
height required Restriction of xs:int
width required Restriction of xs:int
attributespagevisible optional Restriction of xs:string
Specifies whether the Attributes page should be displayed with the edit form.
backgroundcolor optional xs:string
caption optional xs:string
Displayed in the toolbar.
color optional xs:string
font optional xs:string
fontsize optional Restriction of xs:int
fontstyle optional Restriction of xs:string
geographypagevisible optional Restriction of xs:string
Specifies whether the Geography page should be displayed with the edit form.
oncancel optional xs:string
Specify the script to run when this event occurs.
onkillactive optional xs:string
Specify the script to run when this event occurs.
onload optional xs:string
Specify the script to run when this event occurs.
onok optional xs:string
Specify the script to run when this event occurs.
onrefresh optional xs:string
Specify the script to run when this event occurs.
onsetactive optional xs:string
Specify the script to run when this event occurs.
onunload optional xs:string
Specify the script to run when this event occurs.
picturepagevisible optional Restriction of xs:string
Specifies whether the Picture page should be displayed with the edit form.
sip optional Restriction of xs:string
symbologypagevisible optional Restriction of xs:string
Specifies whether the Symbology page should be displayed with the edit form.
tabsvisible optional Restriction of xs:string
Sequence
PAGE 1..∞
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
TABLEFORM 1..∞
Used to define additional ArcPad pages that contain tables related to the feature
Sequence
PAGE
Used to define a page of an ArcPad form.
PICTUREPAGE
Used to define a picture page in a form.
Sequence
PICTUREFIELD 1..∞
Used to define table fields used to store a photo path. Must be string fields.
visible optional
Used to define if the related table rows for the specified table wil be available to the user or not.
Sequence 1..∞
COLUMN
Used to define which columns from the related table are shown in the list view.
QUERYFORM
Used to define a query form in an ArcPad layer definition.
Sequence
PAGE 1..∞
Used to define a page of an ArcPad form.
HYPERLINK
Used to specify the hyperlink properties of a layer in an ArcPad layer definition or ArcPad map file (*.apm).
LOCALE
When parent element is LAYER, LOCALE is used to specify the codepage of the shapefile's .DBF table.
codepage optional xs:int
The codepage to use for the shapefile's DBF table.
QUERY
Defines a filter, or definition query, for an AXF layer.
where required xs:string
The filter that is used as part of the WHERE clause in the SQL SELECT statement used to draw the AXF layer.
SYMBOLOGY
The parent element for symbology in an ArcPad map file (*.apm) or layer definition.
SYSTEMOBJECTS
Used in applet (*.apa) files, default configuration (ArcPad.apx) files, and layer definitions to associate scripts with ArcPad system object events.
Sequence
AUX
The parent element for AUX port settings in ArcPadPrefs.apx. Used to specify script subroutines to call when AUX events occur.
GPS
Used to specify GPS preferences and script subroutines to call when GPS events occur.
onaveragestart optional xs:string
Specify the script to run when this event occurs.
onaveragestop optional xs:string
Specify the script to run when this event occurs.
onclose optional xs:string
Specify the script to run when this event occurs
onexevent optional xs:string
Specify the script to run when this event occurs.
onopen optional xs:string
Specify the script to run when this event occurs
onposition optional xs:string
Specify the script to run when this event occurs.
onsentence optional xs:string
Specify the script to run when this event occurs.
MAP
When parent element is ArcPad, MAP is used in ArcPad map files (*.apm) to define maps. When parent element is SYSTEMOBJECTS, MAP is used to specify scripts to call when Map object events occur.
onafterdraw optional xs:string
Specify the script to run when this event occurs.
onafterlayerdraw optional xs:string
Specify the script to run when this event occurs.
onbeforedraw optional xs:string
Specify the script to run when this event occurs.
onbeforelayerdraw optional xs:string
Specify the script to run when this event occurs.
onclose optional xs:string
Specify the script to run when this event occurs
ondrawingcancelled optional xs:string
Specify the script to run when this event occurs.
onfeatureadded optional xs:string
Specify the script to run when this event occurs.
onfeaturechanged optional xs:string
Specify the script to run when this event occurs.
onfeaturedeleted optional xs:string
Specify the script to run when this event occurs.
onfeaturegeometrychanged optional xs:string
Specify the script to run when this event occurs.
onidentify optional xs:string
Specify the script to run when this event occurs.
onnew optional xs:string
Specify the script to run when this event occurs.
onopen optional xs:string
Specify the script to run when this event occurs
onpointerdown optional xs:string
Specify the script to run when this event occurs.
onpointermodechanged optional
Specify the script to run when this event occurs.
onpointermove optional xs:string
Specify the script to run when this event occurs.
onpointerup optional xs:string
Specify the script to run when this event occurs.
onsave optional xs:string
Specify the script to run when this event occurs.
onselectionchanged optional xs:string
Specify the script to run when this event occurs.
NAVIGATION
Used to specify scripts to call when Navigation object events occur.
RANGEFINDER
Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.
onclose optional xs:string
Specify the script to run when this event occurs
onexevent optional xs:string
Specify the script to run when this event occurs.
onmeasurement optional xs:string
Specify the script to run when this event occurs.
onopen optional xs:string
Specify the script to run when this event occurs

Examples

Source

<xs:element name="ArcPad" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>The root element for all ArcPad XML statements.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="SCRIPT" />
      <xs:element name="LAYER" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>When used in a layer definition, LAYER is used to define the layer's custom characteristics.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="FIND">
              <xs:annotation>
                <xs:documentation>Parent tag for stored Find tool queries in an ArcPad layer definition.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="QUERYBUILDER">
                    <xs:annotation>
                      <xs:documentation>Parent tag for query fragments in an ArcPad layer definition.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element name="QUERYFRAGMENT" maxOccurs="unbounded">
                          <xs:annotation>
                            <xs:documentation>Used to define a FIELD-OPERATOR-VALUE combination plus a logical operator to be used with the next query fragment (if present).</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:attribute use="required" ref="field">
                              <xs:annotation>
                                <xs:documentation>The attribute field in the layer that the queryfragment applies to.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="fragmentoperator" default="AND">
                              <xs:annotation>
                                <xs:documentation>The operator used to link the next query fragment to this one.</xs:documentation>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:restriction base="xs:string">
                                  <xs:enumeration value="AND" />
                                  <xs:enumeration value="OR" />
                                </xs:restriction>
                              </xs:simpleType>
                            </xs:attribute>
                            <xs:attribute name="operator" default="=">
                              <xs:annotation>
                                <xs:documentation>The comparison operator to apply to the field.</xs:documentation>
                              </xs:annotation>
                              <xs:simpleType>
                                <xs:restriction base="xs:string">
                                  <xs:enumeration value="=" />
                                  <xs:enumeration value="&lt;&gt;" />
                                  <xs:enumeration value="&lt;" />
                                  <xs:enumeration value="&lt;=" />
                                  <xs:enumeration value="&gt;" />
                                  <xs:enumeration value="&gt;=" />
                                  <xs:enumeration value="=*" />
                                  <xs:enumeration value="*=" />
                                  <xs:enumeration value="*=*" />
                                </xs:restriction>
                              </xs:simpleType>
                            </xs:attribute>
                            <xs:attribute name="value" type="xs:string">
                              <xs:annotation>
                                <xs:documentation>The comparison term for the query fragment.</xs:documentation>
                              </xs:annotation>
                            </xs:attribute>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="FORMS">
              <xs:annotation>
                <xs:documentation>The parent element for defining an ArcPad form.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element ref="FORM" maxOccurs="unbounded" />
                  <xs:element name="EDITFORM">
                    <xs:annotation>
                      <xs:documentation>Used to define an edit form in an ArcPad layer definition.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element ref="PAGE" maxOccurs="unbounded" />
                        <xs:element name="PICTUREPAGE">
                          <xs:annotation>
                            <xs:documentation>Used to define a picture page in a form</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                                <xs:annotation>
                                  <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                                </xs:annotation>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="TABLEFORM" maxOccurs="unbounded">
                          <xs:annotation>
                            <xs:documentation>Used to define additional ArcPad pages that contain tables related to the feature</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="PAGE" />
                              <xs:element name="PICTUREPAGE">
                                <xs:annotation>
                                  <xs:documentation>Used to define a picture page in a form.</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                                      <xs:annotation>
                                        <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="LISTVIEW">
                                <xs:complexType>
                                  <xs:sequence maxOccurs="unbounded">
                                    <xs:element name="COLUMN">
                                      <xs:annotation>
                                        <xs:documentation>Used to define which columns from the related table are shown in the list view.</xs:documentation>
                                      </xs:annotation>
                                      <xs:complexType>
                                        <xs:attribute name="field">
                                          <xs:annotation>
                                            <xs:documentation>Used to define the column name in the related table.</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="visible">
                                          <xs:annotation>
                                            <xs:documentation>Used to define if the column is visible or not (default = "true").</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="caption">
                                          <xs:annotation>
                                            <xs:documentation>Used to define the title of the column in the list view. Default is name of field.</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="width">
                                          <xs:annotation>
                                            <xs:documentation>Used to define the width of the column in pixels. Default is 50.</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                      </xs:complexType>
                                    </xs:element>
                                  </xs:sequence>
                                  <xs:attribute name="visible">
                                    <xs:annotation>
                                      <xs:documentation>Used to define if the related table rows for the specified table wil be available to the user or not.</xs:documentation>
                                    </xs:annotation>
                                  </xs:attribute>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                      <xs:attribute use="required" ref="height">
                        <xs:annotation>
                          <xs:documentation>Form height.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute use="required" ref="width">
                        <xs:annotation>
                          <xs:documentation>Form width.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="true" ref="attributespagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Attributes page should be displayed with the edit form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="backgroundcolor">
                        <xs:annotation>
                          <xs:documentation>The background color to use for the edit form. This can be overridden by setting a page's or control's backgroundcolor attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="caption">
                        <xs:annotation>
                          <xs:documentation>Displayed in the titlebar of the edit form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="color">
                        <xs:annotation>
                          <xs:documentation>The color to use for the edit form's text. This can be overridden by setting a page's or control's color attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="font">
                        <xs:annotation>
                          <xs:documentation>The font for the edit form. This can be overridden by setting a page's or control's font attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="fontsize">
                        <xs:annotation>
                          <xs:documentation>The font size for the edit form. This can be overridden by setting a page's or control's fontsize attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="regular" ref="fontstyle">
                        <xs:annotation>
                          <xs:documentation>The font style for the edit form. This can be overridden by setting a page's or control's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="true" ref="geographypagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Geography page should be displayed with the edit form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="" ref="oncancel">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onkillactive">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onload">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onok">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onrefresh">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onsetactive">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onunload">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="true" ref="picturepagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Picture page should be displayed with the edit form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="auto" ref="sip">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the SIP (soft input panel) is displayed on pen devices by default when controls get the focus. Individual pages can override this setting with the sip attribute of the PAGE element.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="true" ref="symbologypagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Symbology page should be displayed with the edit form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="true" ref="tabsvisible">
                        <xs:annotation>
                          <xs:documentation>Flag that determines if page tabs are displayed for a single page edit form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="IDENTIFYFORM">
                    <xs:annotation>
                      <xs:documentation>Used to define an identify form in an ArcPad layer definition.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element ref="PAGE" maxOccurs="unbounded" />
                        <xs:element name="PICTUREPAGE">
                          <xs:annotation>
                            <xs:documentation>Used to define a picture page in a form</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                                <xs:annotation>
                                  <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                                </xs:annotation>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="TABLEFORM" maxOccurs="unbounded">
                          <xs:annotation>
                            <xs:documentation>Used to define additional ArcPad pages that contain tables related to the feature</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:sequence>
                              <xs:element ref="PAGE" />
                              <xs:element name="PICTUREPAGE">
                                <xs:annotation>
                                  <xs:documentation>Used to define a picture page in a form.</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                  <xs:sequence>
                                    <xs:element maxOccurs="unbounded" name="PICTUREFIELD">
                                      <xs:annotation>
                                        <xs:documentation>Used to define table fields used to store a photo path. Must be string fields.</xs:documentation>
                                      </xs:annotation>
                                    </xs:element>
                                  </xs:sequence>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="LISTVIEW">
                                <xs:complexType>
                                  <xs:sequence maxOccurs="unbounded">
                                    <xs:element name="COLUMN">
                                      <xs:annotation>
                                        <xs:documentation>Used to define which columns from the related table are shown in the list view.</xs:documentation>
                                      </xs:annotation>
                                      <xs:complexType>
                                        <xs:attribute name="field">
                                          <xs:annotation>
                                            <xs:documentation>Used to define the column name in the related table.</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="visible">
                                          <xs:annotation>
                                            <xs:documentation>Used to define if the column is visible or not (default = "true").</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="caption">
                                          <xs:annotation>
                                            <xs:documentation>Used to define the title of the column in the list view. Default is name of field.</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                        <xs:attribute name="width">
                                          <xs:annotation>
                                            <xs:documentation>Used to define the width of the column in pixels. Default is 50.</xs:documentation>
                                          </xs:annotation>
                                        </xs:attribute>
                                      </xs:complexType>
                                    </xs:element>
                                  </xs:sequence>
                                  <xs:attribute name="visible">
                                    <xs:annotation>
                                      <xs:documentation>Used to define if the related table rows for the specified table wil be available to the user or not.</xs:documentation>
                                    </xs:annotation>
                                  </xs:attribute>
                                </xs:complexType>
                              </xs:element>
                            </xs:sequence>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                      <xs:attribute use="required" ref="height">
                        <xs:annotation>
                          <xs:documentation>Form height.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute use="required" ref="width">
                        <xs:annotation>
                          <xs:documentation>Form width.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="attributespagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Attributes page should be displayed with the identify form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="backgroundcolor">
                        <xs:annotation>
                          <xs:documentation>The background color to use for the identify form. This can be overridden by setting a page's or control's backgroundcolor attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="caption">
                        <xs:annotation>
                          <xs:documentation>Displayed in the titlebar of the identify form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="color">
                        <xs:annotation>
                          <xs:documentation>The color to use for the identify form's text. This can be overridden by setting a page's or control's color attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="font">
                        <xs:annotation>
                          <xs:documentation>The font for the identify form. This can be overridden by setting a page's or control's font attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="fontsize">
                        <xs:annotation>
                          <xs:documentation>The font size for the identify form. This can be overridden by setting a page's or control's fontsize attribute.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="regular" ref="fontstyle">
                        <xs:annotation>
                          <xs:documentation>The font style for the identify form. This can be overridden by setting a page's or control's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="geographypagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Geography page should be displayed with the identify form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="oncancel">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onkillactive">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onload">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onok">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onrefresh">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onsetactive">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onunload">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="true" ref="picturepagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Picture page should be displayed with the identify form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute default="auto" ref="sip">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the SIP (soft input panel) is displayed on pen devices by default when controls get the focus. Individual pages can override this setting with the sip attribute of the PAGE element.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="symbologypagevisible">
                        <xs:annotation>
                          <xs:documentation>Specifies whether the Symbology page should be displayed with the identify form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="tabsvisible">
                        <xs:annotation>
                          <xs:documentation>Flag that determines if page tabs are displayed for a single page identify form.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="QUERYFORM">
                    <xs:annotation>
                      <xs:documentation>Used to define a query form in an ArcPad layer definition.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:sequence>
                        <xs:element ref="PAGE" maxOccurs="unbounded" />
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element ref="HYPERLINK">
              <xs:annotation>
                <xs:documentation>Used to specify the hyperlink properties of a layer in an ArcPad layer definition or ArcPad map file (*.apm).</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="LOCALE">
              <xs:complexType>
                <xs:attribute name="codepage" type="xs:int">
                  <xs:annotation>
                    <xs:documentation>The codepage to use for the shapefile's DBF table.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="QUERY">
              <xs:annotation>
                <xs:documentation>Defines a filter, or definition query, for an AXF layer.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute name="where" use="required" type="xs:string">
                  <xs:annotation>
                    <xs:documentation>The filter that is used as part of the WHERE clause in the SQL SELECT statement used to draw the AXF layer.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element ref="SYMBOLOGY"></xs:element>
            <xs:element name="SYSTEMOBJECTS">
              <xs:complexType>
                <xs:sequence>
                  <xs:element ref="AUX" />
                  <xs:element name="GPS">
                    <xs:complexType>
                      <xs:attribute ref="onaveragestart" />
                      <xs:attribute ref="onaveragestop" />
                      <xs:attribute ref="onclose" />
                      <xs:attribute ref="onexevent" />
                      <xs:attribute ref="onopen" />
                      <xs:attribute ref="onposition" />
                      <xs:attribute ref="onsentence" />
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="MAP">
                    <xs:complexType>
                      <xs:attribute ref="onafterdraw">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onafterlayerdraw" />
                      <xs:attribute ref="onbeforedraw">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onbeforelayerdraw">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onclose" />
                      <xs:attribute ref="ondrawingcancelled">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onfeatureadded">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onfeaturechanged">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onfeaturedeleted">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onfeaturegeometrychanged">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onidentify">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onnew">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onopen">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onpointerdown">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onpointermodechanged">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onpointermove">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onpointerup">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onsave">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="onselectionchanged">
                        <xs:annotation>
                          <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element ref="NAVIGATION"></xs:element>
                  <xs:element name="RANGEFINDER">
                    <xs:complexType>
                      <xs:attribute ref="onclose" />
                      <xs:attribute ref="onexevent" />
                      <xs:attribute ref="onmeasurement" />
                      <xs:attribute ref="onopen" />
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute ref="brightness" />
          <xs:attribute default="0" ref="contrast">
            <xs:annotation>
              <xs:documentation>Contrast adjustment for the layer. Positive values exaggerate color separation (as the value approaches 1, the result is either pure black (for colors below the grey threshold) or pure solid color (for colors above the threshold), for example, a dark red will become pitch black, whereas a bright red will become solid red). Negative values merge/dissolve the colors (as the value approaches -1, the result is all gray).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="maxscale">
            <xs:annotation>
              <xs:documentation>Maximum scale to display the layer using a relative scale such as 1:24000.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="minscale">
            <xs:annotation>
              <xs:documentation>Minimum scale to display the layer using a relative scale such as 1:24000.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="name">
            <xs:annotation>
              <xs:documentation>Name of the layer. Can be an alias.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onafterlayerdraw">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onbeforelayerdraw">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onclose">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onfeatureadded">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onfeaturechanged">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onfeaturedeleted">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onfeaturegeometrychanged">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onidentify">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="onopen">
            <xs:annotation>
              <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="readonly">
            <xs:annotation>
              <xs:documentation>Specifies whether the layer can be edited in ArcPad. When readonly is true, the layer cannot be made editable.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="refscale">
            <xs:annotation>
              <xs:documentation>Reference scale to display the symbology for the layer. The scale is specfied using a relative scale such as 1:24000. Symbols are scaled relative to the refscale as the map is zoomed in or out.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="transparency" default="1">
            <xs:annotation>
              <xs:documentation>Transparency percentage for the layer (0 = 100 % transparent; 1 = 100 % opaque).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="transparencycolor">
            <xs:annotation>
              <xs:documentation>Transparency color for the layer. This color will be rendered transparent in the map.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" name="showeditformnew">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.